package cn.llming.gift.exception;

public enum ErrorCode {
    CODE_200(200,"操作成功"),
    CODE_400(400,"参数不正确"),
    CODE_500(500,"系统繁忙,请稍微重试!"),
    CODE_400_TENANT_EXSIT(4000001,"店铺已经存在!"),
    CODE_400_TENANT_ADMIN_EXSIT(4000002,"您已经有店铺存在,请直接登录使用或者添加新的店铺!"),
    CODE_400_TENANT_ADMIN_PASSWORD_NOT_EQ(4000003,"两次密码不一致!");
    private Integer code;
    private String  message;

    ErrorCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}